html {
	font-size: 10px;
}

body {
	box-sizing: border-box;
	margin: 0 auto;
	font-size: 14px;
	width: 750px;
	height: auto;
	/*重置一下body的字体大小font-size为14px*/
}

.flex-justify-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flex-justify-space-around {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.games-h-title {
	font-size: 3rem;
	color: #0494FD;
	line-height: 10rem;
	text-align: center;
}

@media screen and (min-width: 0px) {
	html {
		font-size: 8px;
	}
	body {
		width: 100%;
	}
}

@media screen and (min-width: 950px) {
	html {
		font-size: 12px;
	}
	body {
		width: 75rem;
	}
}

#games-header-area {
	width: 100%;
	position: relative;
	z-index: 9999;
	background: linear-gradient(to bottom, #249eff, #52e0ff);
}

#games-header-area>div {
	transition: all 0.3s;
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	box-sizing: border-box;
}


/*含有下载App的盒子*/

#app-div {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

#app-div a {
	display: block;
	width: 100%;
	height: 100%;
}

#app-div img {
	width: 100%;
	height: auto;
}


/*含有搜索框的盒子*/

#games-search-div {
	/*background: linear-gradient(to bottom, #249eff, #52e0ff);*/
	transition: all 0.3s;
	font-size: 1.7rem;
	width: 100%;
	height: 7rem;
	line-height: 40px;
	text-align: center;
	padding: 1rem 0;
}

#games-search-div:hover div {
	box-shadow: 0 0 15px white;
}

#games-search-div>div {
	box-sizing: border-box;
	overflow: hidden;
	border: 2px solid #0494fd;
	margin: 0 auto;
	border-radius: 20px;
	width: 100%;
	height: 100%;
	max-width: 750px;
}

.games-icon {
	background: var(--color0494fd);
	width: 5rem;
	height: 100%;
	color: white;
	font-size: 3rem;
	line-height: 5rem;
	overflow: hidden;
	cursor: pointer;
	
}
.games-icon span {
	display: block;
	transition: all 0.4s;
}
.games-icon img {
	width: 100%;
	height: 100%;
}

.input-search {
	width: 100%;
	height: 100%;
}

input,
button {
	box-sizing: border-box;
	outline: none;
	border: none;
}

.input-search>input {
	flex: 1;
	height: 100%;
	padding: 5px;
	/*-webkit-appearance: none;*/
}

:root {
	--color0494fd: #0494FD;
}

.input-search>button {
	color: white;
	font-weight: bold;
	background: var(--color0494fd);
	height: 100%;
	width: 10rem;
	-webkit-appearance: none;
	/*清除按钮的默认样式*/
}


/*以上是头部部分header区域的样式设置*/


/*主体部分section样式设置开始*/

section#games-section-area {
	/*margin-top: 20rem;*/
	background: #f5f7fa;
}

.games-service h1 {
	text-align: center;
	font-size: 2.8rem;
	line-height: 10rem;
	color: #249EFF;
}


/*section中，含有租号、道具、账号、代练字样的4个盒子div的样式设置*/

.games-user-center,
.eight-services {
	position: relative;
	width: 100%;
	height: 15rem;
	overflow: hidden;
}


/*此处设置当鼠标移到a链接标签时，让其中的文字变大&变色的效果*/

.games-user-center a:hover p {
	font-weight: bold;
	font-size: 2.3rem;
	color: #52E0FF;
}

.eight-services a:hover p {
	font-weight: bold;
	font-size: 2.3rem;
	color: orange;
	text-shadow: 2px 2px 5px black;
}

.games-user .flex-horizontal,
.hot-games .flex-horizontal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
}

.games-user-center .flex-horizontal {
	/*justify-content: space-around;*/
	width: 100%;
	height: 100%;
}

.games-user-center li {
	/*width: 25%;*/
	flex: 1;
}

.eight-services .flex-horizontal {
	justify-content: space-around;
	width: 200%;
	height: 100%;
	transition: all 1.5s;
}

.eight-services button
/*.prevLi, button.nextLi*/

{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 4rem;
	height: 5rem;
	line-height: 5rem;
	z-index: -1;
	opacity: 0;
	color: white;
	font-weight: bold;
	background: #0494FD;
	font-size: 3rem;
	transition: all 0.3s;
}

.eight-services:hover button {
	z-index: 10;
	opacity: 1;
}

button.prevLi {
	left: 0;
}

button.nextLi {
	right: 0;
}

.flex-horizontal>li {
	width: 12.5%;
	height: 10rem;
	position: relative;
}

.flex-horizontal>li img {
	display: block;
	margin: 0 auto;
	width: 9rem;
	height: 9rem;
}

.flex-horizontal>li p {
	text-align: center;
	line-height: 4rem;
	font-size: 1.4rem;
	height: 1rem;
	width: 100%;
}

.games-user-center .flex-horizontal img {
	border-radius: 50%;
	width: 7.5rem;
	height: 7.5rem;
}

.hot-games {
	width: 100%;
	position: relative;
	margin: 3rem auto;
	border-top: 2px dashed orange;
}

.hot-games .flex-horizontal {
	overflow: hidden;
	width: 100%;
	position: relative;
}

.hot-games .flex-horizontal>li {
	width: 18%;
	height: 15rem;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1;
	white-space: nowrap;
	/*溢出的文字尽量用省略号代替*/
}

.hot-games .flex-horizontal>li img {
	width: 6rem;
	height: 6rem;
	border-radius: 1rem;
}

/*立体旋转轮播图效果区域开始*/
.games-slide-list {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0rem auto 5rem;
	overflow: hidden;
}

div#indexImgDiv {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	width: 95%;
	height: 31rem;
	margin: 0 auto;
	position: relative;
}

div#indexImgDiv>div.rotateX01 {
	position: absolute;
	z-index: 10;
	top: 0;
	transform-style: preserve-3d;
	width: 100%;
	height: 100%;
	
	/*让这个盒子水平居中的设置*/
	transition: all 0.3s;
}

div.rotateX01 div.indexImg {
	position: absolute;
	transition: all 0.4s;
	width: 100%;
	height: 100%;
	
}
.indexImg img {
	width: 100%;
	height: 100%;
	
}
div#indexImgDiv div.bottomArrow {
	position: absolute;
	bottom: 0;
	z-index: 15;
	width: 100%;
}

div#indexImgDiv div.bottomArrow>ul {
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	height: 5rem;
	width: 100%;
	position: relative;
}

div#indexImgDiv div.bottomArrow>ul>li {
	height: 100%;
	transition: all 0.3s;
	flex: 1;
	/*background: url(../img/右箭头01.png) no-repeat center/contain;*/
}

div.bottomArrow li img {
	transition: all 0.3s;
	display: block;
	margin: 0 auto;
	height: 100%;
	width: auto;
}

div.bottomArrow li:hover img {
	transform: rotate(-90deg);
}
/*立体旋转轮播图效果区域结束*/


/*限时秒杀、全场一折起、天天一份抢皮肤盒子*/

.limit-time-to-buy {
	max-width: 750px;
	margin: 20px auto;
	display: flex;
	justify-content: space-around;
	align-content: center;
	align-items: center;
}

.limit-time-to-buy>div {
	width: 48.5%;
	overflow: hidden;
}

.limit-time-to-buy img {
	height: auto;
	width: 100%;
}


/*推荐商品区域的10个选项卡的区域*/

.games-recommendation {
	width: 100%;
	height: auto;
}

.games-nav-list ul li {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
}

.games-nav-list ul li a {
	display: block;
	margin: 10px 0;
	height: 4rem;
	box-sizing: border-box;
	line-height: 4rem;
	text-align: center;
	border: 3px inset #52E0FF;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	border-radius: 1rem;
	box-shadow: 0 0 8px inset aqua;
	letter-spacing: 5px;
	transition: all 0.3s;
}
@media screen and (min-width: 280px) {
	.games-nav-list ul li a {
		width: 90%;
	}
}
@media screen and (min-width: 750px) {
	.games-nav-list ul li a {
		width: 17%;
	}
}
.games-nav-list ul li a:nth-of-type(1) {
	background: #0494FD;
	color: white;
	font-weight: bold;
}

.games-nav-list a:hover {
	color: white;
	font-weight: bold;
	transform: scale(1.2);
	background: #249EFd;
	text-decoration: underline;
}


/*装有公告栏的盒子div的样式设置*/

#notice-bar {
	/*line-height: 5rem;*/
	width: 100%;
	height: 4rem;
	font-size: 2rem;
	margin: 20px auto;
	/*overflow: hidden;*/
}

#fixed-goods-notices {
	position: relative;
	left: 0;
	width: 100%;
	height: 5rem;
	z-index: 9998;
	transition: all 0.4s;
	background: #F5F7FA;
}

#fixed-goods-notices>div {
	max-width: 75rem;
	margin: 1rem auto;
	height: 3rem;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
	visibility: hidden;
}

.clearfix>div {
	height: 3rem;
	float: left;
	overflow: hidden;
}


/*the child div in #notice-bar 公告栏盒子下面的子元素*/

#notices {
	position: relative;
	width: 60%;
	min-width: 200px;
	max-width: 600px;
	/*limit the width of this div*/
	height: 100%;
	line-height: 3rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 2px solid #fff8d0;
	background: #fff8d0;
}

#notices strong {
	font-weight: 400;
	font-size: 1.4rem;
	color: #fd1084;
}


/*公告栏盒子的after伪元素，用于表示一个向右指的箭头*/

#notices:after {
	content: ">";
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 3rem;
	height: 100%;
	text-align: center;
	color: white;
	font-weight: bold;
	background: rgba(4, 156, 253, 1);
}

.colum-row-show-games-goods {
	width: 20%;
	height: 100%;
	color: #0494FD;
	max-width: 300px;
	/*limit the width of this div*/
	cursor: pointer;
}


/*推荐商品展示区的盒子div的样式设置*/

#more-games-goods-show {
	width: 100%;
	height: auto;
	box-sizing: border-box;
}


/*商品展示列表ul的样式设置*/

ul.more-games-goods-show {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
	align-content: space-around;
	flex-wrap: wrap;
}

ul.more-games-goods-show>li {
	margin: 10px 5px;
	position: relative;
	z-index: 5;
	transition: all 0.4s;
	background: #F5F7FA;
}

ul.more-games-goods-show li>a:hover {
	transform: scale(1.05);
	box-shadow: 5px 5px 7px #0FA8F5;
	border-radius: 2rem;
	z-index: 10;
}

ul.more-games-goods-show li>a {
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	transition: all 0.3s;
	overflow: hidden;
}

ul.more-games-goods-show li>a>div {
	width: 100%;
	padding: 5px;
}


/*游戏背景图盒子div，class=goods-background-image的样式设置*/

ul.more-games-goods-show .goods-background-image {
	background: url("https://static.jiaoyimao.com/jym-oss/resource/item/3163891390/20210114/143225997.jpg?x-oss-process=image/resize,h_517,m_lfit") no-repeat center center/cover;
	/*overflow: hidden;*/
	height: auto;
}

ul.more-games-goods-show .goods-type {
	width: 90%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: bold;
	transition: all 0.4s;
}

.goods-type strong.goods-account-number {
	background: #0FA8F5;
	color: white;
	padding: 3px;
	border-radius: 5px;
}

.goods-type sub {
	color: #0fa8f5;
	background: rgba(230, 240, 250, 0.8);
	font-size: 1.3rem;
	padding: 3px;
	border-radius: 8px;
	display: inline-block;
	margin-right: 5px;
}


/*标有价格的元素标签*/

.goods-price {
	color: red;
	font-size: 3rem;
	font-weight: bold;
}

.goods-price sub {
	font-size: 1.8rem;
}

@media screen and (min-width: 280px) {
	/*width=280px时，每一行只展示一个li，游戏商品*/
	ul.more-games-goods-show li {
		width: 100%;
		height: auto;
	}
	ul.more-games-goods-show li .goods-background-image {
		width: 100%;
		height: 125px;
	}
}

@media screen and (min-width: 540px) {
	/*width=540px时，每一行只展示2个li，游戏商品*/
	ul.more-games-goods-show li {
		width: 48%;
		height: auto;
	}
	ul.more-games-goods-show li .goods-background-image {
		width: 270px;
		height: 125px;
	}
}

@media screen and (min-width: 750px) {
	/*width=540px时，每一行只展示3个li，游戏商品*/
	ul.more-games-goods-show li {
		width: 31%;
		height: auto;
	}
	ul.more-games-goods-show li .goods-background-image {
		width: 250px;
		height: 125px;
	}
}


/*主体部分section样式设置结束*/


/*底部部分footer开始*/

#games-footer-area {
	width: 100%;
}

#games-bottom-fixed {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 9999;
	transition: all 0.4s;
	opacity: 1;
	transform: translateY(100%);
	width: 100%;
	height: 7rem;
	background: #F5F7FA;
}

#games-bottom-fixed>div {
	width: 100%;
	max-width: 750px;
	height: 100%;
	margin: 0 auto;
}

#games-bottom-fixed>div ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	width: 100%;
}

#games-bottom-fixed ul li {
	flex: 1;
	width: 20%;
	height: 100%;
	text-align: center;
}

#games-bottom-fixed ul li img {
	width: 100%;
	display: block;
	margin: 0 auto;
	width: 5rem;
	height: 5rem;
}


/*下面是在鼠标悬浮于这个after伪元素创造的三角形上时显示固定定位的盒子，离开时就隐藏这个固定定位的盒子*/


/*固定定位的盒子div定位为相对定位relative*/

#games-bottom-fixed>div {
	position: relative;
}

#games-bottom-fixed>div:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-width: 2rem;
	border-style: solid;
	border-color: transparent transparent #0FA8F5;
	transition: all 0.4s 0.4s, opacity 0.4s 0.1s;
}

#games-bottom-fixed:hover>div:after {
	opacity: 0;
	transform: translateY(200%);
}

#games-bottom-fixed:hover {
	transform: translate(0, 0);
	z-index: 9999;
	opacity: 1;
}